package com.wlb.address.split.dict.defualt;

public class DATrieNode {
	private int base;    
	private int check;
	private int handle;
	
	
	public DATrieNode(){
		this.base = 0;
		this.check = 0;
		this.handle = 0;
	}
	
	public DATrieNode(int base,int check,int handle){
		this.base = base;
		this.check = check;
		this.handle = handle;
	}
	
	
	public int getBase() {
		return base;
	}
	public void setBase(int base) {
		this.base = base;
	}
	public int getCheck() {
		return check;
	}
	public void setCheck(int check) {
		this.check = check;
	}
	public int getHandle() {
		return handle;
	}
	public void setHandle(int handle) {
		this.handle = handle;
	}

	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		if(!(obj instanceof DATrieNode)){
			return false;
		}
		DATrieNode node = (DATrieNode)obj;
		return ((this.base==node.base) && (this.check==node.check) && (this.handle==node.handle));
	}
	
	
}
